<div class="admin-sidebar am-offcanvas  am-padding-0" id="admin-offcanvas">
	<div class="am-offcanvas-bar admin-offcanvas-bar">
		<ul class="am-list admin-sidebar-list common-left-menu">
			<li>
				<a href="javascript:;" data-type="menu" data-url="{{:MyUrl('admin/index/init')}}" class="common-left-menu-active"><span class="iconfont icon-shouye"></span> 首页</a>
			</li>
			{{foreach $left_menu as $v}}
				{{if empty($v['item'])}}
					<li>
						<a href="javascript:;" data-type="menu" data-url="{{:MyUrl('admin/'.strtolower($v['control']).'/'.strtolower($v['action']))}}">{{if !empty($v['icon'])}}<span class="iconfont {{$v.icon}}"></span>{{/if}} {{$v.name}}</a>
					</li>
				{{else /}}
					<li class="admin-parent">
						<a data-type="menu" class="am-cf" data-am-collapse="{target: '#power-menu-{{$v.id}}'}">
							{{if !empty($v['icon'])}}<span class="iconfont {{$v.icon}}"></span>{{/if}} {{$v.name}}
							<i class="am-icon-angle-down am-fr am-margin-right left-menu-more-ico-rotate"></i>
						</a>
						<ul class="am-list am-collapse admin-sidebar-sub" id="power-menu-{{$v.id}}">
							{{foreach $v.item as $vs}}
								<li>
									<a href="javascript:;" data-type="menu" data-url="{{:MyUrl('admin/'.strtolower($vs['control']).'/'.strtolower($vs['action']))}}">{{if !empty($vs['icon'])}}<span class="{{$vs.icon}}"></span>{{/if}} {{$vs.name}}</a>
								</li>
							{{/foreach}}
						</ul>
					</li>
				{{/if}}
			{{/foreach}}
		</ul>
	</div>
</div>